\startlayout[page]
\copypages[test-file.pdf]
\stoplayout
\stoptext
How could I avoid this offset please?
You have to change the layout for the pages where you include your
images to get rid of the default margins.
Wolfgang
avoid this offset please?
TIA for any hints,
--
Peter
___
If your question is of interest to others as well, please add an entry to the
Wiki!
maillist : ntg-context@ntg.nl /
https://mailman.ntg.nl/mailman3
On Wed, 31 Jan 2024 19:41:02 +0100
Hans Hagen wrote:
> >> How do it get the same spacing as in the framedtext case?
> >
> > Is there a solution to this? Or an explanation why the spacing
> > differs?
> these are fundamentally different mechanisms .. you can play with
> \inframed in the
On 1/31/2024 7:15 PM, Marco Patzer wrote:
On Thu, 16 Nov 2023 13:52:05 +0100
Marco Patzer wrote:
I'm having problems getting the textbackground spacing offset to work.
Example:
\setupframedtext
[offset=overlay,
width=max,
depthcorrection=off]
\setuptextbackground
[location
On Thu, 16 Nov 2023 13:52:05 +0100
Marco Patzer wrote:
> I'm having problems getting the textbackground spacing offset to work.
> Example:
>
> \setupframedtext
> [offset=overlay,
>width=max,
>depthcorrection=off]
>
> \setuptextbackground
> [loca
Hi!
I'm having problems getting the textbackground spacing offset to work.
Example:
\setupframedtext
[offset=overlay,
width=max,
depthcorrection=off]
\setuptextbackground
[location=paragraph,
%% offset=overlay, %% does nothing
%% backgroundoffset=overlay, %% does
Alexandre Christe via ntg-context schrieb am 07.11.2022 um 21:04:
Dear list,
Is there a trick to not apply the leftoffset to the header of a
defineenumeration?
MWE:
[...]
You can use \offset to shift the enumeration title.
\defineframed
[ExampleHeadFrame]
[location=low,
background
Dear list,
Is there a trick to not apply the leftoffset to the header of a
defineenumeration?
MWE:
\definetextbackground
[textFrameEx]
[
frame=off,
framecolor=darkgreen,
rulethickness=2ex,
background=,
location=paragraph,
leftoffset=2.25ex,
rightoffset=2.25ex,
On Mon, Aug 9, 2021 at 6:32 AM Christoph Reller
wrote:
> Somewhere between versions 2021-07-06 and 2021-07-30 the vertical
> top-offset in framedtext has changed. Consider the MWE:
> \starttext
> \startframedtext
> Bla
> \stopframedtext
> \stoptext
> [...]
>
Is this
Hi,
Somewhere between versions 2021-07-06 and 2021-07-30 the vertical
top-offset in framedtext has changed. Consider the MWE:
\starttext
\startframedtext
Bla
\stopframedtext
\stoptext
Output 2021-07-06:
[image: FramedText-ConTeXt-2021-07-06.png]
Output 2021-07-30 (and later):
[image
On Fri, Feb 12 2021, Wolfgang Schuster wrote:
> 2. Add \strut, e.g. \position(1, 1){\strut i}
Ah, thanks. So the anchor is not the baseline, but the top-left corner of
the content.
Since "\setuppositioning[before=\strut]" does not work, I use this
workaround now:
\def\myPosition(#1,
Peter Münster schrieb am 12.02.2021 um 13:31:
Hi,
When I want to type an "i" in the position-command, there is some
vertical offset:
\starttext
\startpositioning
\position(1, 1){i} \position(2, 1){x}
\position(1, 2){x} \position(2, 2){i}
\position(1, 3){a} \position(2, 3){x}
\positi
Hi,
When I want to type an "i" in the position-command, there is some
vertical offset:
\starttext
\startpositioning
\position(1, 1){i} \position(2, 1){x}
\position(1, 2){x} \position(2, 2){i}
\position(1, 3){a} \position(2, 3){x}
\position(1, 4){x} \position(2, 4){a}
\stoppositioning
samplepoint:=arctime curlength of P;
sampledir:=direction samplepoint of P;
newpoint:=((point samplepoint of P) shifted (linegap * unitvector(sampledir
rotated -90)));
if curlength = 0:
innerpath:=newpoint{sampledir};
fi
% every now and then along the line, place a semi
Am 01.05.2020 um 10:26 schrieb Gerben Wierda :
I have been looking at lmt_followtext and followtext to get typesetting
done along a path. That works fine, except that in my case, I need the
text to not be exactly on that path, I need it to hover slightly above tor
> On 1 May 2020, at 17:33, Gerben Wierda wrote:
>
>
>
>> On 1 May 2020, at 17:10, Henning Hraban Ramm wrote:
>>
>>
>>
>>> Am 01.05.2020 um 10:26 schrieb Gerben Wierda :
>>>
>>> I have been looking at lmt_followtext and followtext to get typesetting
>>> done along a path. That works
> On 1 May 2020, at 17:10, Henning Hraban Ramm wrote:
>
>
>
>> Am 01.05.2020 um 10:26 schrieb Gerben Wierda :
>>
>> I have been looking at lmt_followtext and followtext to get typesetting done
>> along a path. That works fine, except that in my case, I need the text to
>> not be exactly
> Am 01.05.2020 um 10:26 schrieb Gerben Wierda :
>
> I have been looking at lmt_followtext and followtext to get typesetting done
> along a path. That works fine, except that in my case, I need the text to not
> be exactly on that path, I need it to hover slightly above tor below he path.
>
I have been looking at lmt_followtext and followtext to get typesetting done along a path. That works fine, except that in my case, I need the text to not be exactly on that path, I need it to hover slightly above tor below he path. Given that the path may have an unpredictable form, that means
mf schrieb am 13.04.2020 um 17:21:
Thanks also for the explanation of backgroundoffset: it's an offset
relative only to the background, and it moves in the opposite direction
of the content offset of \framed.
Looks like \framed[...,offset=VALUE,backgroundoffset=frame,...] is
equivalent
text \eTD
\eTR
\bTR[toffset=1mm]
\bTD left \eTD
\bTD right \eTD
\eTR
\bTR
\bTD another \eTD
\bTD row \eTD
\eTR
\eTABLE
\stoptext
Thanks also for the explanation of backgroundoffset: it's an offset
relative only to the background, and it moves in the opposite direction
already a backgroundoffset option, whose value can be:
- a DIMENSION (an offset that is both horizontal and vertical)
- a "frame": what does it mean? (I looked into pack-rul.mkiv, with no
results)
ConTeXt uses the value from the frameoffset key for backgroundoffset.
\startus
(an offset that is both horizontal and vertical)
- a "frame": what does it mean? (I looked into pack-rul.mkiv, with no
results)
Massi
Il 11/04/20 20:11, Wolfgang Schuster ha scritto:
Hans Hagen schrieb am 11.04.2020 um 19:41:
On 4/11/2020 4:15 PM, mf wrote:
Hello list
}
draw llcorner OverlayBox
-- lrcorner OverlayBox
-- center topboundary OverlayBox
-- cycle
withcolor red ;
\stopuseMPgraphic
\defineoverlay[triangle][{\uniqueMPgraphic{cell:triangle}}]
\starttext
\startframed[frame=off,offset=1ex,loffset=2ex,roffset=2ex,toffset=2ex,background
On 4/11/2020 4:15 PM, mf wrote:
Hello list,
this MWE is a simplified version of a real case:
\startuseMPgraphic{cell:triangle}
path p ; p := unittriangle rotated 90 xscaled 2.5 OverlayWidth
yscaled 2.5 OverlayHeight ;
draw p withcolor red ;
\stopuseMPgraphic
Hello list,
this MWE is a simplified version of a real case:
\startuseMPgraphic{cell:triangle}
path p ; p := unittriangle rotated 90 xscaled 2.5 OverlayWidth
yscaled 2.5 OverlayHeight ;
draw p withcolor red ;
\stopuseMPgraphic
\defineoverlay[triangle][{\uniqueMPgraphic{cell:triangle}}]
Jon Wong schrieb am 23.12.2019 um 09:13:
Is it possible?
Yes.
I get “missing endgroup inserted” error.
Without a minimal example there is no way to tell why you get this error
message.
As can be seen in the example below you can use textbackgrounds with the
\offset command
Is it possible? I get “missing endgroup inserted” error.
___
If your question is of interest to others as well, please add an entry to the
Wiki!
maillist : ntg-context@ntg.nl /
Hi,
Why is the height of the cells of the third line different ?
Thank you.
Fabrice
\starttext
\startxtable[align={lohi,middle},offset=0.8ex,width=3cm]
\startxrow
\startxcell
\m{x}
\stopxcell
\startxcell[nx=3]
\math{-\infty} \hfill
On 3/24/2019 5:46 PM, Aditya Mahajan wrote:
Hi,
With the latest beta, the following example:
\definetextbackground
[test]
[
location=paragraph,
]
\starttext
\startTEXpage[offset=5cm]
\starttest
\input knuth
\stoptest
\stopTEXpage
\stoptext
gives the attached output
Hi,
With the latest beta, the following example:
\definetextbackground
[test]
[
location=paragraph,
]
\starttext
\startTEXpage[offset=5cm]
\starttest
\input knuth
\stoptest
\stopTEXpage
\stoptext
gives the attached output.
Note that in the output the left and right offsets
On 2/28/2018 5:28 AM, Henri Menke wrote:
Dear list,
I was wondering, why is the text in the main text block offset by .25\exheight
from above (and below)? Also, can you point me to the source line where this
offset is added in shipout because it is not there in \setuplayout. If you
don't know
Dear list,
I was wondering, why is the text in the main text block offset by .25\exheight
from above (and below)? Also, can you point me to the source line where this
offset is added in shipout because it is not there in \setuplayout. If you
don't know what I mean, see MWE below.
Cheers, Henri
> On 2. Nov 2017, at 15:17, Thomas Floeren <t...@mac.com> wrote:
>
> Hi,
>
> I noticed that with one of the recent betas the right offset of my
> textbackgrounds doesn’t work properly anymore when the textbackground
> contains a multi-column “paragraph”.
>
>
> On 2. Nov 2017, at 18:55, Pablo Rodriguez <oi...@gmx.es> wrote:
>
> On 11/02/2017 03:17 PM, Thomas Floeren wrote:
>> Hi,
>>
>> I noticed that with one of the recent betas the right offset of my
>> textbackgrounds doesn’t work properly anymore when the te
On 11/02/2017 03:17 PM, Thomas Floeren wrote:
> Hi,
>
> I noticed that with one of the recent betas the right offset of my
> textbackgrounds doesn’t work properly anymore when the textbackground
> contains a multi-column “paragraph”.
>
> The first box is OK and as expected
Hi,
I noticed that with one of the recent betas the right offset of my
textbackgrounds doesn’t work properly anymore when the textbackground contains
a multi-column “paragraph”.
A minimal:
\defineparagraphs [TestPar][n=2, distance=7mm]
\setupparagraphs [TestPar][1][width=2em
On 26 May 2016 at 18:17, Hans Hagen wrote:
> On 5/26/2016 2:48 PM, Mojca Miklavec wrote:
>>
>> Nevertheless this doesn't entirely solve the problem. I now have a
>> problem with the following:
>>
>> \catcode`č=\active
>> \defč{\buildtextaccent\textcaron c}
>
>
> doesn't the compose=yes
On 5/26/2016 2:48 PM, Mojca Miklavec wrote:
On 25 May 2016 at 17:35, Wolfgang Schuster wrote:
With \shiftup the line under the raised text stays at the same position.
\starttext
\underbar{Test this \shiftup{®}}
\stoptext
When has \shiftup been implemented?
It doesn't work in TeX Live (or
On Thu, 26 May 2016, Mojca Miklavec wrote:
\catcode`č=\active
\defč{\buildtextaccent\textcaron c}
Instead of creating an active character, does this work:
\definefontfeature
[default]
[default]
[compose=yes]
On Thu, 26 May 2016 14:48:00 +0200
Mojca Miklavec wrote:
> On 25 May 2016 at 17:35, Wolfgang Schuster wrote:
> >
> > With \shiftup the line under the raised text stays at the same
> > position.
> >
> > \starttext
> > \underbar{Test this \shiftup{®}}
> > \stoptext
On 25 May 2016 at 17:35, Wolfgang Schuster wrote:
>
> With \shiftup the line under the raised text stays at the same position.
>
> \starttext
> \underbar{Test this \shiftup{®}}
> \stoptext
When has \shiftup been implemented?
It doesn't work in TeX Live (or maybe I forgot to update TL to the
Hans Hagen <mailto:pra...@wxs.nl>
24. Mai 2016 um 14:19
On 5/24/2016 1:54 AM, Mojca Miklavec wrote:
Hi,
I would like to add a continuous underbar under a paragraph or a
title as in:
\setupbar
[color=red,offset=10pt]
\starttext
\underbar{Test this \high{\tfxx ®}}
\stoptext
... b
On 5/24/2016 1:54 AM, Mojca Miklavec wrote:
Hi,
I would like to add a continuous underbar under a paragraph or a title as in:
\setupbar
[color=red,offset=10pt]
\starttext
\underbar{Test this \high{\tfxx ®}}
\stoptext
... but I'm confused about two aspects:
- How can I prevent \high
Hi,
I would like to add a continuous underbar under a paragraph or a title as in:
\setupbar
[color=red,offset=10pt]
\starttext
\underbar{Test this \high{\tfxx ®}}
\stoptext
... but I'm confused about two aspects:
- How can I prevent \high{} from shifting the underbar?
- How can I add more
Am 03.09.2014 um 01:12 schrieb Mica Semrick m...@silentumbrella.com:
Thanks Wolfgang, that worked well.
Are there more reasons to use start stop over start{}?
It’s more a matter of taste. \framed is better when you use to to frame short
parts os text and \startframed when you want to put
[frame=on,width=local,offset=0in,loffset=0in,roffset=0in,frameoffset=0in]{
Add a % after the {.
\framed
[frame=on,
location=middle,
align={flushleft,nothyphenated,verytolerant}] % maybe also stretch
{%
{\tfd My Name Here}
}
\hfill
\framed
[frame=on,
location=middle,
align
Hello!
Given:
\starttext
\framed[frame=on,width=local,offset=0in,loffset=0in,roffset=0in,frameoffset=0in]{
\framed
[frame=on,
location=middle,
align={flushleft,nothyphenated,verytolerant}] % maybe also stretch
{%
{\tfd My Name Here}
}
\hfill
\framed
[frame=on,
location=middle
Am 01.09.2014 um 00:18 schrieb Mica Semrick m...@silentumbrella.com:
Hello!
Given:
\starttext
\framed[frame=on,width=local,offset=0in,loffset=0in,roffset=0in,frameoffset=0in]{
Add a % after the {.
\framed
[frame=on,
location=middle,
align={flushleft,nothyphenated,verytolerant
Hi,
why is the second line right-aligned in the following example?
\definetextext
[foo]
[#1]#2{\switchtobodyfont[#1]#2}
\starttext
\dorecurse{5}{
\startMPcode
draw \sometxt[foo][sans]{FooBar};
\stopMPcode
\startMPcode
draw \sometxt[foo][iwona]{FooBar};
Am 28.04.2013 um 19:56 schrieb Marco Patzer home...@lavabit.com:
Hi,
why is the second line right-aligned in the following example?
The first you use the iwona font in your document context has to load the
typescript
for it from a external files which produces a lot of spaces in the text.
On 2013–04–28 Wolfgang Schuster wrote:
Am 28.04.2013 um 19:56 schrieb Marco Patzer home...@lavabit.com:
Hi,
why is the second line right-aligned in the following example?
The first you use the iwona font in your document context has to load the
typescript
for it from a external
Hi All,
can someone explain to me why loading a file/typescript is producing spaces
If the code that does load the file/s produced spaces for debugging purposes
that is
fine, but should not they actually going somewhere else? Then with a decent
message!?
Personally, I find it a bug if
Am 28.04.2013 um 20:37 schrieb Marco Patzer home...@lavabit.com:
On 2013–04–28 Wolfgang Schuster wrote:
Am 28.04.2013 um 19:56 schrieb Marco Patzer home...@lavabit.com:
Hi,
why is the second line right-aligned in the following example?
The first you use the iwona font in your
On 2013–04–28 Keith J. Schultz wrote:
can someone explain to me why loading a file/typescript is
producing spaces
The typescripts themselves are full of spaces and new lines. And you
really want those spaces for readability. TeX usually squashes
multiple spaces into one, but spaces still
On 4/28/2013 10:03 PM, Marco Patzer wrote:
This is usually not a problem, since typescripts are loaded in the
setup area. Even when loaded within the text area the spaces don't
cause problems. Loading an entire file within a box, like I did in
the example, is an unusual edge-case and there's a
Hi Marco, All,
agreed you can avoid the spaces by putting the usetypescript in the preamble,
but should not the loading of a typescript not bleed any spaces!
regards
Keith.
Am 28.04.2013 um 22:03 schrieb Marco Patzer home...@lavabit.com:
On 2013–04–28 Keith J. Schultz wrote:
can
On 4/29/2013 12:42 AM, Keith J. Schultz wrote:
Hi Marco, All,
agreed you can avoid the spaces by putting the usetypescript in the preamble,
but should not the loading of a typescript not bleed any spaces!
it's not the typescript that has the space but the file ... a typescript
file can have
, using positioning macros, that shows also a problem with
vertical offset:
--8---cut here---start-8---
% Produce A2-example:
\startbuffer[a2]
\setuppapersize[A2]
\setuplayout[page]
\setupbackgrounds[page][background=color, backgroundcolor=blue]
\starttext
\input
Is there a way to have figures placed on a slightly larger colored
background and then have paragraph text flow around the enlarged area?
I tried the following (using ver 2009.11.26 16:28 MKII):
\setupcolors[state=start]
\starttext
\placefigure[right,none]{}%
{\externalfigure[sample/cow.pdf]%
,
backgroundoffset=20pt]}
\input knuth
\stoptext
But the frame and background bleed into the text.
Hello Sanjoy,
\starttext
\placefigure[right]{Problem: offset=20pt ignored here!}
{\externalfigure[sample/cow.pdf]
[scale=500, frame=on, offset=20pt
Peter,
\placefigure[right]{This is ok!}{\framed[offset=20pt,
background=color,
backgroundcolor=lightgray]{\externalfigure[sample/cow.pdf][scale=500]}}
\input knuth
Ah, I had tried almost that recipe (of wrapping the \externalfigure in a
\framed) but had used backgroundoffset
On Nov 8, 2010, at 20:53 , Wolfgang Schuster wrote:
Am 31.10.2010 um 11:16 schrieb Florian Wobbe:
Can you make a example where this calculation goes wrong!
Thanks! Of cause, a commented minimal example is attached.
I have two problems and a wish:
1) The reference line and the
Am 09.11.2010 um 11:09 schrieb Florian Wobbe:
3) It would be nice to have a bottomframe for the backaddress field that is
not longer than then the text itself.
\setupletterstyle
[reference][frame]
[width=fit]
I meant the backaddress frame, though. This works analogously:
Just a typo,
Am 31.10.2010 um 11:16 schrieb Florian Wobbe:
Can you make a example where this calculation goes wrong!
Thanks! Of cause, a commented minimal example is attached.
I have two problems and a wish:
1) The reference line and the following subject line are placed too high.
I uploaded a new
setting topspace has no effect.
Also
\setupletterstyle [reference] [voffset=...]
changes the offset for alternative=customized, only.
Best,
Florian
___
If your question is of interest to others as well, please add
] [topspace=...]
However with alternative a and e setting topspace has no effect.
Also
\setupletterstyle [reference] [voffset=...]
changes the offset for alternative=customized, only.
With the predefined styles for the reference line i ignore the topspace value
and use a calculated value
.
With alternative=customized I can use
\setupletterstyle [firstpage] [topspace=...]
However with alternative a and e setting topspace has no effect.
Also
\setupletterstyle [reference] [voffset=...]
changes the offset for alternative=customized, only.
With the predefined styles for the reference line
Hi all,
some specification requests that a numbered list start at
arbitrary counter values. I'm using the following line after
“\startitemize[...]” to accomplish this:
··8·
\setnumber[itemgroup:itemize]{42}
Am 17.09.2010 um 12:22 schrieb Philipp Gesang:
Hi all,
some specification requests that a numbered list start at
arbitrary counter values. I'm using the following line after
“\startitemize[...]” to accomplish this:
··8·
On 2010-09-17 12:31:41, Wolfgang Schuster wrote:
\starttext
\startitemize[n][start=30]
\dorecurse{4}{\item text}
\stopitemize
\stoptext
Great, that's exactly what I was looking for. Now that we're at
it: actually the spec wants this on per-item basis. This would
amount to having another
Am 17.09.2010 um 13:11 schrieb Philipp Gesang:
On 2010-09-17 12:31:41, Wolfgang Schuster wrote:
\starttext
\startitemize[n][start=30]
\dorecurse{4}{\item text}
\stopitemize
\stoptext
Great, that's exactly what I was looking for. Now that we're at
it: actually the spec wants this on
On 2010-09-17 15:02:00, Wolfgang Schuster wrote:
Am 17.09.2010 um 13:11 schrieb Philipp Gesang:
Regardless of if there's a practical use for that: is this
possible as well without resorting to repeated \setnumber'ing?
\starttext
\startitemize
\sym{1.} text
\sym{2.} text
\sym{4.} text
Hello,
could you anybody confirm that following code causes fatal error in mkiv and
not in mkii?
I use minimals from 2009/12/17 in linux 64bit.
LuaTeX: beta-0.46.0-2009112619
context: 2009.12.15 23:38
Thanks
Zdenek
---
This fails in mkiv.
\starttext
\placefigure[][]{A\offset
zs wrote:
Hello,
could you anybody confirm that following code causes fatal error in mkiv and
not in mkii?
Yes, fails.
No idea why yet.
Best wishes,
Taco
___
If your question is of interest to others as
zs wrote:
Hello,
could you anybody confirm that following code causes fatal error in mkiv and
not in mkii?
i'll fix in in mkiv
-
Hans Hagen | PRAGMA ADE
Ridderstraat 27 |
John Deeny wrote:
On 11/6/2009 3:13 PM, Hans Hagen wrote:
John Deeny wrote:
I am trying to set up the environment for a booklet, but I am having
trouble using indenting with imposition. The pages are shifted to the
right on the larger sheet by the indenting amount. Increasing the
amount of
(or at least minimize it), any ideas?
Use textbackgrounds.
Thanks for he tip. However, I managed to get the desired effect by
setting a positive background offset, zero left/right offset, and
negative top offset, this worked fine foe background, but the negative
part has no effect
Is there a way to typeset a paragraph with background extending only in
the margin?
I used the following setup, but I don't want the background to extend in
the top/bottom (or at least minimize it), any ideas?
\setupcolors[state=start]
\setupbackground
[background=color,
Am 02.04.2009 um 18:55 schrieb Khaled Hosny:
Is there a way to typeset a paragraph with background extending only
in
the margin?
I used the following setup, but I don't want the background to
extend in
the top/bottom (or at least minimize it), any ideas?
Use textbackgrounds.
Wolfgang
Consider this example. As it stands, the cells in the flow chart are
clipped on the horizontal extremes. On the other hand if the offset is
uncommented, a vertical offset is introduced which makes the bottom of
the chart depart from the page (or at least it does in the real world
use from which
On Mon, 29 Jan 2007, Wolfgang Schuster wrote:
sorry I forgot to send you also my file with the definitions from my
new defined constants and variables I introduced with the
localframed extensions.
I made also a few minor changes in my wolf-rul modul:
- removing obsolete setups
- working
Hi,
Is there a way to have
\startcolumnsetspan[intro]
\startframedtext[frame=off,bottomframe=on,topframe=on,offset=1ex]
\it Some introduction text here
\stopframedtext
\stopcolumnsetspan
without the offset to the left and right? There's no frame drawn to the
left and right so I don't want
Hello,
here the next problem:
\starttext
\starttablehead
\HL
\stoptablehead
\starttables[|l|l|]
\dorecurse{50}{\VL SomeText \VL SomeText \VL \AR}
\stoptables
Problem: top margin on first page is bigger.
\stoptext
Greetings, Peter
--
http://pmrb.free.fr/contact/
regards Willi
Eckhart Guthöhrlein wrote:
Hi,
is there a way to let connection lines in FLOWcharts start and end not
directly at the shape border, but with a certain offset. I tried
\setupFLOWlines[offset=...], but without effect.
___
ntg-context mailing list
Hi,
I get this stange result: The second page (p.3-4) of each embedded
file have the wrong offset, for the other pages (p. 6-\infty) they are ok.
Any ideas? This is with
pdfeTeXk, Version 3.14159-1.10b-2.1 (Web2C 7.4.5) (format=cont-en 2003.10.6
and the TeX code from below.
Tobias
86 matches
Mail list logo